package com.wfh.mianshiji;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.ai.autoconfigure.vectorstore.pgvector.PgVectorStoreAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author fenghuanwang
 */
@MapperScan(basePackages = "com.wfh.mianshiji.mapper")
@SpringBootApplication(exclude = {
        PgVectorStoreAutoConfiguration.class
})
public class MianshijiBackendApplication {

    public static void main(String[] args) {

        System.setProperty("sun.net.client.defaultConnectTimeout", "5000");
        System.setProperty("sun.net.client.defaultReadTimeout", "120000");

        SpringApplication.run(MianshijiBackendApplication.class, args);
    }

}
